? 2004 microchip technology inc. ds40039c_cn pic16f630/676 ? 14 8 cmos ?
ds40039c_cn ii ? ? 2004 microchip technology inc. ????? ???????Z ? microchip ?? ????? ??????? microchip ???? ? microchip ?y microchip ? ?????? microchip ??? e??? ? microchip ???? microchip ?? accuron dspic k ee l oq microid mplab pic picmicro picstart pro mate powersmart rfpic smartshunt ? microchip technology inc . ??? amplab filterlab mxdev mxlab picmaster rfpic seeval smartsensor the embedded control solutions company ? microchip technology inc . ??? analog-for-the-digital age application maestro dspicdem dspicdem.net dspicworks ecan economonitor fansense flexrom fuzzylab in-circuit serial programming icsp icepic migratable memory mpasm mplib mplink mpsim pickit picdem picdem.net piclab pictail powercal powerinfo powermate powertool rflab rfpicdem select mode smart serial smarttel total endurance ? microchip technology inc . ??? sqtp microchip technology inc . ?? ????? ? 2004, microchip technology inc ? ? microchip ???? ?microchip ??? microchip ???? ?microchip ???? microchip ??????????? ? ????????????? microchip ?? Z? microchip ??????? ?microchip ?????? ?microchip ?j?????????? ?? ???? microchip ????????? microchip ??? ???? digital millennium copyright act ??? ?????????? microchip ? chandler tempe ? mountain view ????? 2003 10 ? iso/ts-16949:2002 ??? picmicro ? 8 ? k ee l oq ? eeprom ??? ???? iso/ts-16949:2002 ? microchip ??????? iso 9001:2000 ?
? 2004 microchip technology inc. ds40039c_cn 1 ? pic16f630/676 risc cpu ? ??? 35 ? - ????? ? ? ?? - dc-20 mhz / ? - dc-200 ns ? ? ?8 ?? ? ??????????? ?? ? ??? - ?? 4mhz ??? 1% - ?t?? - ??? 3.0v ???? 5 s ? ??? ? ?? 2.0v 5.5v ? ???? ? ???y por ? ?N? pwrt ? ost ? ?? bod ? ??? wdt ?? ? ? mclr / ? ??? ? ?? ? ??? ? ??? flash/eeprom ? -flash ? 100,000 - eeprom ? 1,000,000 -flash/ eeprom ?? 40 ?? ? -1na@2.0v ? ? -8.5 a@32 khz 2.0v ? -100 a@1 mhz 2.0v ? ? ?? - 300 na@2.0v ? ?timer1 -4 a@32 khz 2.0v ? ? ?12 ??? i/o ? / ? led ? ??? - ??? - ??????? cv ref ? - ???? - ???? ? ??? pic16f676 -10 ? - ?? 8 ? - ?? ?timer0 8 ??? 8 ? / ? ?? timer1 - ?? 16 ? / - ???? - ? intosc ? lp ??? osc1 osc2 ? timer1 ? ???? icsp tm ? i/o 10 a/d ( ? ) ? 8/16 ? flash ( ) sram ( ? ) eeprom ( ? ) pic16f630 1024 64 128 12 ? 1 1/1 pic16f676 1024 64 128 12 8 1 1/1 flash 14 8 cmos ?
pic16f630/676 ds40039c_cn 2 ? ? 2004 microchip technology inc. ?? 14 pdip soic tssop ?? v dd ra5/t1cki/osc1/clkin ra4/t1g /osc2/an3/clkout ra3/mclr /v pp rc5 rc4 rc3/an7 v ss ra0/an0/cin+/icspdat ra1/an1/cin-/v ref /icspclk ra2/an2/cout/t0cki/int rc0/an4 rc1/an5 rc2/an6 pic16f676 1 2 3 4 5 6 7 14 13 12 9 11 10 8 v dd ra5/t1cki/osc1/clkin ra4/t1g /osc2/clkout ra3/mclr /v pp rc5 rc4 rc3 v ss ra0/cin+/icspdat ra1/cin-/icspclk ra2/cout/t0cki/int rc0 rc1 rc2 pic16f630 1 2 3 4 5 6 7 14 13 12 9 11 10 8
2004 microchip technology inc. ds40039c_cn 1 3 ni pic16f630/676 ,a) 1.0 <ve? .............................................................................................................................. ...................................................... 5 2.0 ,| 4?4?4x .............................................................................................................................. ........................................... 7 3.0 0? a ` c ............................................................................................................................. ................................................ 19 4.0 timer0 ?
+ .............................................................................................................................. ............................................... 29 5.0 k?k?{s6?,x timer1 ?
+ .............................................................................................................................. ..................... 32 6.0 !ew<?
+ .............................................................................................................................. ................................................ 37 7.0 ?de@6< ? a/d ??
+ ??l$ pic16f676 ? ...................................................................................................................... 43 8.0 db eeprom ,|< .............................................................................................................................. ............................... 49 9.0 cpu ,x(m!^s6? .............................................................................................................................. ....................................... 53 10.0 ??2?43ve? .............................................................................................................................. ............................................ 71 11.0 ? 2?43 .............................................................................................................................. .................................................... 79 12.0 + !(m? .............................................................................................................................. .................................................... 85 13.0 dc ` ac (m?>< .............................................................................................................................. ................................. 107 14.0 ?>?c .............................................................................................................................. .................................................. 117 l) a: db`( z ? .............................................................................................................................. ................................... 121 l) b: <a? .............................................................................................................................. ................................................. 121 l) c: </? .............................................................................................................................. ................................................. 122 l) d: jw picmicro? <,x/? .............................................................................................................................. ............... 122 4?? .............................................................................................................................. .............................................................. 127 2?43ca 4{&4? .............................................................................................................................. ............................................ 127 a?5 ?o\>< .............................................................................................................................. .......................................................... 128 { ?a??2?43 .............................................................................................................................. ...................................................... 129 7 v ? ?o?g[7ov!7.bs* microchip { ?? !8??4
x@ ?((=1q
$c?|,x?u"??((=,xbg lc?` ??( ,x|?5k
x? vp| ?((=y?)kanl `?a?a?e?e?+ $f??,6(2?? trc 4)+ $f?
ctrc@microchip.com ?, ?-? (8621)5407 5 066?? ?e|,x ?o\? ??db` !9?k db`,x??( a?1a??@ ,x5%0-? http://www.microchip.com | ?e?e??1db`???ni{??|,x[)4 ?9.bnj( ?[)4 ?,x? a?t+!?( 4 ? _v? ds30000a ds30000 ,x a ( ? ?a?>< )?y< ?6?y???a?><aaz adb`,x ?e> a?1 ??a?,x105?'< / [7,xa??-1? ?(???a?><? ?a?><t"?aje?*,x.(( `[( ? !z??< ,?a?><a?e?e?1????1a?? ?microchip 5%0- http://www.microchip.com ? '
microchip j?r_? ( ??ni ) ?microchip f?[)?5b??, ?-?? 001 (480) 792-7277 '7+ j?r_?[)?a?aa|s*,x< /??8?( `db`( ( [)4 ? ) ? ve?-12?43 !y ? { ?,x??ca??@ 5%0- www.microchip.com/cn t"?`?
pic16f630/676 ds40039c_cn 4 ? ? 2004 microchip technology inc. ?
? 2004 microchip technology inc. ds40039c_cn 5 ? pic16f630/676 1.0 ? pic16f630/676 ???? ? picmicro ? ????? ds33023_cn ???? ??? microchip ?? microchip ?? ?????? ????? ? pic16f630 ? pic16f676 ?? pic16f676 ? 10 a/d ?? ??? pic16f630/676 ? 14 pdip soic tssop ?? ? 1-1 ????? 1-1 ???? ? 1-1: pic16f630/676 ?? flash 13 8 14 ?? ram ? ? ??? 7 ram ? 9 ? mux ?? fsr ? ??? mux alu w ? ? & ? osc1/clkin osc2/clkout porta 8 8 8 3 8 ? 64 1k x 14 ? 13 ? ? ? ?y ? ? mclr v ss ?? ? timer0 timer1 eeprom 128 ? eedata eeaddr ra0 ra1 ra2 ra3 ra4 ra5 ? ?? pic16f676 an0 an1 an2 an3 cin- cin+ cout t0cki int t1cki ? v ref ??? t1 g portc rc0 rc1 rc2 rc3 rc4 rc5 an4 an5 an6 an7 v dd 8
pic16f630/676 ds40039c_cn 6 ? ? 2004 microchip technology inc. 1-1: pic16f630/676 ? ? ra0/an0/cin+/icspdat ra0 ttl cmos ? i/o ???? an0 an ? a/d ? 0 cin+ an ? icspdat ttl cmos i/o ra1/an1/cin-/v ref / icspclk ra1 ttl cmos ? i/o ???? an1 an ? a/d ? 1 cin- an ? ? v ref an ? ??? icspclk st ? ? ra2/an2/cout/t0cki/int ra2 st cmos ? i/o ???? an2 an ? a/d ? 2 cout ? cmos ? t0cki st ? timer0 ? int st ? ? ra3/mclr /v pp ra3 ttl ? ?? mclr st ? v pp hv ? ?? ra4/t1g /an3/osc2/ clkout ra4 ttl cmos ? i/o ???? t1g st ? timer1 ? an3 an3 ? a/d ? 3 osc2 ? xtal / clkout ? cmos f osc /4 ra5/t1cki/osc1/clkin ra5 ttl cmos ? i/o ???? t1cki st ? timer1 ? osc1 xtal ? / clkin st ? ?? / rc ? rc0/an4 rc0 ttl cmos ? i/o an4 an4 ? a/d ? 4 rc1/an5 rc1 ttl cmos ? i/o an5 an5 ? a/d ? 5 rc2/an6 rc2 ttl cmos ? i/o an6 an6 ? a/d ? 6 rc3/an7 rc3 ttl cmos ? i/o an7 an7 ? a/d ? 7 rc4 rc4 ttl cmos ? i/o rc5 rc5 ttl cmos ? i/o v ss v ss ? ? ?? v dd v dd ? ? ? ?? ? = pic16f676 ttl = ttl ? st = ???
? 2004 microchip technology inc. ds40039c_cn 7 ? pic16f630/676 2.0 ?? 2.1 ?? pic16f630/676 ? 13 ?? ? 8k x 14 ??? pic16f630/676 ? ? 1k x 14 ?? 0000h 03ffh ? ? ?????? 1k x 14 ?????? 0000h ? ?? 0004h 2-1 ? 2-1: pic16f630/676 ? ??? 2.2 ??? ? 2-2 ? ???????? ? 32 ?? ?? 20h- 5fh ??? ???t? ram ? ??? ram ? ???? 0 rp0 status < 5 >?? ?rp0 = 0 ?? 0 ?rp0 = 1 ? ? 1 2.2.1 ?? pic16f630/676 ???? 64 x 8 ????? fsr 2.1 ? ????? pc<12:0> 13 000h 0004 0005 03ffh 0400h 1fffh 1 ? 8 ? ? ? ?? call, return retfie, retlw 2 ? ? status<7:6> irp rp1 ? ???? 0
pic16f630/676 ds40039c_cn 8 ? ? 2004 microchip technology inc. 2.2.2 ??? ???? cpu ?? ?? 2-1 ??? ram ????????? ???? ?? ???????? ????? ? 2-2: pic16f630/676 ? ? ?? . (1) tmr0 pcl status fsr porta pclath intcon pir1 tmr1l tmr1h t1con 00h 01h 02h 03h 04h 05h 06h 07h 08h 09h 0ah 0bh 0ch 0dh 0eh 0fh 10h 11h 12h 13h 14h 15h 16h 17h 18h 19h 1ah 1bh 1ch 1dh 1eh 1fh 20h 7fh 0 ??? 0 1: ????? 2: pic16f676 cmcon vrcon 20h-5fh 64 ? eedat eeadr eecon2 (1) 5fh 60h ? ? ? ? wpua ioca ?? (1) option_reg pcl status fsr trisa pclath intcon pie1 pcon osccal 80h 81h 82h 83h 84h 85h 86h 87h 88h 89h 8ah 8bh 8ch 8dh 8eh 8fh 90h 91h 92h 93h 94h 95h 96h 97h 98h 99h 9ah 9bh 9ch 9dh 9eh 9fh a0h ffh 1 dfh e0h adresh (2) adcon0 (2) eecon1 adresl (2) adcon1 (2) ansel (2) trisc portc ??
2004 microchip technology inc. ds40039c_cn 1 9 ni pic16f630/676 >< 2-1: pic16f630/676 (m!^s6??,<",| 0
/? bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 por ? bod ,x ! ni ,|' 0 00h indf * fsr ,xy??
db,|< ( m2rl,,x?,<? xxxx xxxx 18,61 01h tmr0 timer0 ?
+?,< xxxx xxxx 29 02h pcl /?caud< (pc ? " 8 !+8v 0000 0000 17 03h status irp (2) rp1 (2) rp0 to pd zdcc 0001 1xxx 11 04h fsr kydb,|<
?j\ xxxx xxxx 18 05h porta ? ? i/o { ?,< --xx xxxx 19 06h ? t* ? ? 07h portc ? ? i/o { ?,< --xx xxxx 26 08h ? t* ? ? 09h ? t* ? ? 0ah pclath ? ? ? /?caud<,xp? 5 !,xm4??< ---0 0000 17 0bh intcon gie peie t0ie inte raie t0if intf raif 0000 0000 13 0ch pir1 eeif adif ? ?cmif ? ?tmr1if 00-- 0--0 15 0dh ? t* ? ? 0eh tmr1l 16 ! tmr1 ?,<" 8 !,x??,< xxxx xxxx 32 0fh tmr1h 16 ! tmr1 ?,`,?k?(?n<!? 2: irp ` rp1 !+-!h?4??#l? 3: ?l$b pic16f676 ?
pic16f630/676 ds40039c_cn 1 10 ni 2004 microchip technology inc. >< 2-2: pic16f630/676 ?*?,<",| 1
/? bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 por ? bod ! ni bank 1 80h indf * fsr ,xy??
db,|< ( m2(=)?,<? xxxx xxxx 18,61 81h option_reg rapu intedg t0cs t0se psa ps2 ps1 ps0 1111 1111 12,30 82h pcl /?caud< (pc ? " 8 !+8v 0000 0000 17 83h status irp (2) rp1 (2) rp0 to pd zdcc 0001 1xxx 11 84h fsr kydb,|<?
?j\ xxxx xxxx 18 85h trisa ? ? trisa5 trisa4 trisa3 trisa2 trisa1 trisa0 --11 1111 19 86h ? t* ? ? 87h trisc ? ? trisc5 trisc4 trisc3 trisc2 trisc1 trisc0 --11 1111 ? 88h ? t* ? ? 89h ? t* ? ? 8ah pclath ? ? ? /?caud<,xp? !,xm4?? ---0 0000 17 8bh intcon gie peie t0ie inte raie t0if intf raif 0000 0000 13 8ch pie1 eeie adie ? ?cmie ? ?tmr1ie 00-- 0--0 14 8dh ? t* ? ? 8eh pcon ? ? ? ? ? ?por bod ---- --qq 16 8fh ? ? 90hosccal cal5cal4cal3cal2cal1cal0 ? ? 1000 00-- 16 91h ansel (3) ans7 ans6 ans5 ans4 ans3 ans2 ans1 ans0 1111 1111 46 92h ? t* ? ? 93h ? t* ? ? 94h ? t* ? ? 95h wpua ? ? wpua5 wpua4 ? wpua2 wpua1 wpua0 --11 -111 20 96h ioca ? ? ioca5 ioca4 ioca3 ioca2 ioca1 ioca0 --00 0000 21 97h ? t* ? ? 98h ? t* ? ? 99h vrcon vren ?vrr ? vr3 vr2 vr1 vr0 0-0- 0000 42 9ah eedat eeprom db?,< 0000 0000 49 9bh eeadr ? eeprom
?,< 0000 0000 49 9ch eecon1 ? ? ? ? wrerr wren wr rd ---- x000 50 9dh eecon2 eeprom { ?,< 2 ( m2(=)?,<? ---- ---- 49 9eh adresl (3) a/d e@64p4e?o/??),x" 2 ! ?/??),xp? 8 ! xxxx xxxx 44 9fh adcon1 (3) ? adcs2 adcs1 adcs0 ? ? ? ? -000 ---- 45,61 j? - = t*,x,| )a?0 0 u = ? x = t-1 q =d a?b',x5?le = t* "? 1: j- ?m2t+ !? ! !7?0k,x mclr !?]+ j?n?# ` ,?k?(?n<!? 2: irp ` rp1 ? +-!?4? 3: ?l$b pic16f676 ?
? 2004 microchip technology inc. ds40039c_cn 11 ? pic16f630/676 2.2.2.1 status ? ? 2-1 ? status ? ?alu ?? ? ?? ? ? sram ?? status ????? ??? status ??????? ?? z dc c ??? ???? ? ? to pd ??? ??? status ?????? ????? clrf status ???? z ? ? 1 ? status ?? 000u u1uu u = ? ??? status ??? bcf bsf swapf movwf ???? ???????? ? status ??? ?? ? ? 2-1: status ? ??? ? 03h 83h ? 1 pic16f630/676 ? irp rp1 status<7:6> ??? ?????? ???? 2 ?? c dc ??? ? sublw subwf ? r/w-0 r-1 r-1 r/w-x r/w-x r/w-x irp rp1 rp0 to pd zdcc bit 7 bit 0 bit 7 irp ?? 0 bit 6 rp1 ?? 0 bit 5 rp0: ?? ???? 1 = ? 1 80h - ffh 0 = ? 0 00h - 7fh bit 4 to : ?? 1 = ?y clrwdt ? sleep ??? 0 = wdt ? bit 3 pd ?y? 1 = ?y? clrwdt ? 0 = ? sleep ? bit 2 z ? 1 = ? 0 0 = ? 0 bit 1 dc / addwf addlw sublw subwf ?? ?? 1 = ?? 4 4 ?? 0 = ?? 4 4 ?? bit 0 c / addwf addlw sublw subwf ?? 1 = ????? 0 = ???? ? ? ?????????? ? rrf rlf ???? c ?? r = ? w = ? u = ? 0 - n = ?y? 1 = 1 0 = x = ???
pic16f630/676 ds40039c_cn 12 ? ? 2004 microchip technology inc. 2.2.2.2 option ? option ?????? ? ?tmr0/wdt ?? ? ? ra2/int ?tmr0 ?porta ? 2-2: option_reg ? ?? ? 81h ? ? tmr0 1:1 ??? ? psa option<3> ?? 1 ??? wdt 4.4 ? r/w-1 r/w-1 r/w-1 r/w-1 r/w-1 r/w-1 r/w-1 r/w-1 rapu intedg t0cs t0se psa ps2 ps1 ps0 bit 7 bit 0 bit 7 rapu porta ? 1 = ? porta 0 = ?????? porta bit 6 intedg ?? 1 = ra2/int ? 0 = ra2/int ?? bit 5 t0cs tmr0 ??? 1 = ra2/t0cki ??? 0 = ??? clkout bit 4 t0se tmr0 ??? 1 = ra2/t0cki ??? 0 = ra2/t0cki ?? bit 3 psa ?? 1 = wdt 0 = timer0 ? bit 2-0 ps2:ps0: ??? ?? r = ? w = ? u = ? 0 - n = ?y? 1 = 1 0 = x = ??? 000 001 010 011 100 101 110 111 1 : 2 1 : 4 1 : 8 1 : 16 1 : 32 1 : 64 1 : 128 1 : 256 1 : 1 1 : 2 1 : 4 1 : 8 1 : 16 1 : 32 1 : 64 1 : 128 ? tmr0 wdt
? 2004 microchip technology inc. ds40039c_cn 13 ? pic16f630/676 2.2.2.3 intcon ? intcon ????? tmr0 ? porta ?? ra2/int ?????? ? 2-3: intcon ? ??? ? 0bh or 8bh ? ???? ?? gie intcon<7> ? ??? 1 ?? ?????? ?? r/w-0 r/w-0 r/w-0 r/w-0 r/w-0 r/w-0 r/w-0 r/w-0 gie peie t0ie inte raie t0if intf raif bit 7 bit 0 bit 7 gie ?? 1 = ?? 0 = ? bit 6 peie ? 1 = ?? 0 = ? bit 5 t0ie tmr0 ? 1 = ? tmr0 0 = ? tmr0 bit 4 inte ra2/int ?? 1 = ? ra2/int ? 0 = ? ra2/int ? bit 3 raie ???? (1) 1 = ? porta ? 0 = ? porta ? bit 2 t0if tmr0 ?? (2) 1 = tmr0 ? 0 = tmr0 ?? bit 1 intf ra2/int ??? 1 = ra2/int ?? 0 = ra2/int ?? bit 0 raif ????? 1 = ? porta <5:0> ?? 0 = ? porta <5:0> ?? ? 1: ioca ????? 2: timer0 ?? t0if 1 timer0 ???? ? t0if ??? ?? r = ? w = ? u = ? 0 - n = ?y? 1 = 1 0 = x = ???
pic16f630/676 ds40039c_cn 14 ? ? 2004 microchip technology inc. 2.2.2.4 pie1 ? ? 2-4 ? pie1 ?? ? 2-4: pie1 ? ??? 1 ? 8ch ? peie intcon<6> ? 1 ? ?? r/w-0 r/w-0 u-0 u-0 r/w-0 u-0 u-0 r/w-0 eeie adie ? ? cmie ? ? tmr1ie bit 7 bit 0 bit 7 eeie ee ?? 1 = ? ee ? 0 = ? ee ? bit 6 adie a/d ?? pic16f676 1 = ? a/d ? 0 = ? a/d ? bit 5-4 0 bit 3 cmie ?? 1 = ??? 0 = ?? bit 2-1 0 bit 0 tmr1ie tmr1 ? 1 = ? tmr1 0 = ? tmr1 ?? r = ? w = ? u = ? 0 - n = ?y? 1 = 1 0 = x = ???
? 2004 microchip technology inc. ds40039c_cn 15 ? pic16f630/676 2.2.2.5 pir1 ? ? 2-5 ? pir1 ???? ?? ? 2-5: pir1 ? ??? 1 ? 0ch ? ???? ?? gie intcon<7> ? ??? 1 ?? ??????? ? r/w-0 r/w-0 u-0 u-0 r/w-0 u-0 u-0 r/w-0 eeif adif ? ?cmif ? ?tmr1if bit 7 bit 0 bit 7 eeif eeprom ??? 1 = 0 = ????? bit 6 adif a/d ??? pic16f676 1 = a/d ? 0 = a/d ?? bit 5-4 0 bit 3 cmif ??? 1 = ??? 0 = ???? bit 2-1 0 bit 0 tmr1if tmr1 ?? 1 = tmr1 ? 0 = tmr1 ?? ?? r = ? w = ? u = ? 0 - n = ?y? 1 = 1 0 = x = ???
pic16f630/676 ds40039c_cn 16 ? ? 2004 microchip technology inc. 2.2.2.6 pcon ? ? pcon ???? ? ? ?y por ? ?? bod ? ?? wdt ? ? mclr pcon ????? 2-6 ? 2-6: pcon ? ??? ? 8eh 2.2.2.7 osccal ? ?? osccal ?? 4 mhz ? 6 ?????? 4mhz osccal ??? 2-7 ? ? 2-7: osccal ? ??? ? 90h u-0 u-0 u-0 u-0 u-0 u-0 r/w-0 r/w-x ? ? ? ? ? ?por bod bit 7 bit 0 bit 7-2 0 bit 1 por ?y?? 1 = ?y 0 = ?y ?y , ? 1 bit 0 bod ???? 1 = ??? 0 = ?? , ? 1 ?? r = ? w = ? u = ? 0 - n = ?y? 1 = 1 0 = x = ??? r/w-1 r/w-0 r/w-0 r/w-0 r/w-0 r/w-0 u-0 u-0 cal5 cal4 cal3 cal2 cal1 cal0 ? ? bit 7 bit 0 bit 7-2 cal5:cal0: 6 ?? 111111 = ? 100000 = ? 000000 = ? bit 1-0 0 ?? r = ? w = ? u = ? 0 - n = ?y? 1 = 1 0 = x = ???
? 2004 microchip technology inc. ds40039c_cn 17 ? pic16f630/676 2.3 pcl pclath pic16f630/676 ?? 13 ?? pc 8 ? pcl ?? ?? 5 ? pc<12:8> pclath ?? ??? pc ? 2- 3 ??? pc ??? 2-3 ??? pcl pclath<4:0> pch ? pc ? 2-3 ?? call goto ??? pclath<4:3> pch ? pc ? 2-3: ? pc ?? 2.3.1 goto ? goto ??? pc ? ????? ? ?? ? ????? pcl ? ?? 256 ?? ?? ? implementing a table read an556 2.3.2 ? pic16f630/676 ?? 8 13 ?? ? 2-1 ??????? ????????? ??3?? pc ?? push ?? ???????? pop pc pclath ? push pop ?? ??????? ?? 8 ? , 9 ??????? ?????????? ?????? pc 12 8 7 0 5 pclath<4:0> pclath alu <10:0> 8 pc 12 11 10 0 11 pclath<4:3> pch pcl 87 2 pclath pch pcl pcl ?? ? ? 1: ??????? ?? 2: ?? push pop ?/? ? ????
pic16f630/676 ds40039c_cn 1 18 ni 2004 microchip technology inc. 2.4 ky?
indf ` fsr ?,< indf ?,<?t(=),,x?,< indf ?, ?
gky?
? indf ?,< ?e> ky ?
??)s* indf ?,<,x??rlt+[ ey??,< ? fsr ?? ?,x
),xdbe> a? ka?vpg?*ky?
indf ?, a??0e 2 00h ky indf e> m?0e70n?0 ?1u ?6??e ?(???,<,x(??!? ?e?e? 8 ! fsr ?,<,xy?a irp !? status<7> ?e> 4? ?k ?ty,x 9 !
v 2-4 /? _ 2-1 /z?te?e?ky?
?? ram 20h-2fh ?,< )#l,x1t )/?c? _ 2-1: ky?
2-4: pic16f630/676 ,x,y / ky?
movlw 0x20 ;initialize pointer movwf fsr ;to ram next clrf indf ;clear indf register incf fsr ;inc pointer btfss fsr,4 ;all done? goto next ;no clear next continue ;yes continue ao4?,| ?? ??? 2-2 "? 1: rp1 ` irp +-!h?4??#l(??? db,| ky?
,y?
,|??ey?!5bey? rp1 (1) rp0 6 0 97??0-? irp (1) fsr ?,< 7 0 ,|??ey? !5bey? 00 01 10 11 180h 1ffh 00h 7fh ,|' 0 ,|?? 1 ,|?? 2 ,|?? 3 ts*
? 2004 microchip technology inc. ds40039c_cn 19 ? pic16f630/676 3.0 ? a c ?? 12 ? i/o ??? ????? i/o ? ????? ?? i/o ? 3.1 porta trisa ? porta ? 6 ? i/o ?? trisa ???? trisa ? 1 ? ? porta ??? ?? ???? trisa ? 0 ? ? porta ??? ?? ??? ra3 porta ???? tris 1 3-1 ? porta ? porta ????? i/o ?????? i/o ???? ????????? ???????? mclren = 1 ? ra3 ?0? ????? trisa ??? porta ???? ra ??? ??? trisa ? 1 ??? i/o ? ? 0 3-1: porta ?? 3.2 ? pic16f630/676 ?? porta ?? ??? ra3 ? porta ? ???? 3.2.1 ra3 ???? porta ??? ?? wpuax ??? ??? 3-3 ? ???????y ? rapu option<7> 1 ? ? 3-1: porta ? porta ? ? 05h ? i/o ????? picmicro ? ????? ds33023_cn ? ????? , ? ansel (9fh) cmcon (19h) ? ? ??? 0 ansel ? pic16f676 ?^ bcf status,rp0 ;bank 0 clrf porta ;init porta movlw 05h ;set ra<2:0> to movwf cmcon ;digital i/o bsf status,rp0 ;bank 1 clrf ansel ;digital i/o movlw 0ch ;set ra<3:2> as inputs movwf trisa ;and set ra<5:4,1:0> ;as outputs bcf status,rp0 ;bank 0 u-0 u-0 r/w-x r/w-x r/w-x r/w-x r/w-x r/w-x ? ? ra5 ra4 ra3 ra2 ra1 ra0 bit 7 bit 0 bit 7-6: 0 bit 5-0: porta<5:0> porta i/o 1 = ??? >v ih 0 = ??? pic16f630/676 ds40039c_cn 20 ? ? 2004 microchip technology inc. ? 3-2: trisa ? porta ??? ? 85h ? 3-3: wpua ? ? ? 95h 3.2.2 ? ? porta ???? ??? iocax ??? ??? 3-4 ?? y?? ??????? ?????? porta ??? ????? intcon ? porta ??? raif ??????? ??? a) ? porta ??? b) raif ? ??? raif ? 1 porta ? raif ?? u-0 u-0 r/w-x r/w-x r-1 r/w-x r/w-x r/w-x ? ? trisa5 trisa4 trisa3 trisa2 trisa1 trisa0 bit 7 bit 0 bit 7-6 0 bit 5-0 trisa<5:0> porta ? 1 = porta ?? ( ? ) 0 = porta ?? ? trisa<3> ? 1 ?? r = ? w = ? u = ? 0 - n = ?y? 1 = 1 0 = x = ??? u-0 u-0 r/w-1 r/w-1 u-0 r/w-1 r/w-1 r/w-1 ? ?wpua5wpua4 ? wpua2 wpua1 wpua0 bit 7 bit 0 bit 7-6 0 bit 5-4 wpua<5:4> ?? 1 = ? 0 = ? bit 3 0 bit 2-0 wpua<2:0> ?? 1 = ? 0 = ? ? : ????????? rapu 1: ????? (trisa = 0) ?? r = ? w = ? u = ? 0 - n = ?y? 1 = 1 0 = x = ??? ? ?? , i/o ? ?? q2 ???? raif ???? 1
? 2004 microchip technology inc. ds40039c_cn 21 ? pic16f630/676 ? 3-4: ioca ? porta ???? ? 96h u-0 u-0 r/w-0 r/w-0 r/w-0 r/w-0 r/w-0 r/w-0 ? ? ioca5 ioca4 ioca3 ioca2 ioca1 ioca0 bit 7 bit 0 bit 7-6 0 bit 5-0 ioca<5:0>: porta ?? 1 = ??? 0 = ?? ? : ???????????? (gie) ??? ?? r = ? w = ? u = ? 0 - n = ?y? 1 = 1 0 = x = ???
pic16f630/676 ds40039c_cn 22 ? ? 2004 microchip technology inc. 3.2.3 ??? porta ???? ??????? ? a/d ??? ?? 3.2.3.1 ra0/an0/cin+ ? 3-1 ????? ra0 ??? 1?? ? ? i/o ?a/d pic16f676 ? ? ?? ?a/d pic16f676 ??? 3.2.3.2 ra1/an1/cin-/v ref ? 3-1 ????? ra1 ?? 1?? ? ? i/o ?a/d pic16f676 ? ? ?? ?a/d pic16f676 ??? ? 3-1: ra0 ? ra1 ?? i/o v dd v ss d q ck q d q ck q d q ck q d q ck q v dd d en q d en q wr wpua rd wpua rd porta rd porta wr porta wr trisa rd trisa wr ioca rd ioca ? ? a/d ? ? rapu ??? ??
? 2004 microchip technology inc. ds40039c_cn 23 ? pic16f630/676 3.2.3.3 ra2/an2/t0cki/int/cout ? 3-2 ????? ra2 ??? 1?? ? ? i/o ?a/d pic16f676 ? ? ? ? tmr0 ? ? ?? ? 3-2: ra2 ?? 3.2.3.4 ra3/mclr /v pp ? 3-3 ????? ra3 ??? 1?? ? ? ? ? ? 3-3: ra3 ?? i/o v dd v ss d q ck q d q ck q d q ck q d q ck q v dd d en q d en q ? wr wpua rd wpua rd porta wr porta wr trisa rd trisa wr ioca rd ioca ? a/d ? 0 1 cout cout ? int tmr0 ??? rapu rd porta ? ?? ?? i/o v ss d q ck q d en q rd porta rd porta wr ioca rd ioca ? reset mclre rd trisa v ss d en q mclre
pic16f630/676 ds40039c_cn 24 ? ? 2004 microchip technology inc. 3.2.3.5 ra4/an3/t1g /osc2/clkout ? 3-4 ????? ra4 ??? 1?? ? ? i/o ?a/d pic16f676 ? ?tmr1 ?? ? / ? ? ? ? 3-4: ra4 ?? 3.2.3.6 ra5/t1cki/osc1/clkin ? 3-5 ????? ra5 ??? 1?? ? ? i/o ?tmr1 ? ? / ? ? ? ? 3-5: ra5 ?? i/o v dd v ss d q ck q d q ck q d q ck q d q ck q v dd d en q d en q ??? wr wpua rd wpua rd porta wr porta wr trisa rd trisa wr ioca rd ioca ? f osc /4 a/d ? osc1 clkout 0 1 clkout ? ? ??? rapu rd porta tmr1 t1g intosc/ rc/ec (2) clk (1) ?? clkout ? ? 1: clk ??? xt hs lp lptmr1 clkout ?? 2: clkout ? i/o v dd v ss d q ck q d q ck q d q ck q d q ck q v dd d en q d en q wr wpua rd wpua rd porta wr porta wr trisa rd trisa wr ioca rd ioca ? tmr1 clkgen intosc ?? rd porta intosc ?? rapu osc2 (1) ? 1: ? timer1 lp 2: ?? lp timer1 ? , ?? tmr1lpen (1)
? 2004 microchip technology inc. ds40039c_cn 25 ? pic16f630/676 3-1: porta ??? ? bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 por bod ? ? 05h porta ? ? ra5 ra4 ra3 ra2 ra1 ra0 --xx xxxx --uu uuuu 0bh/8bh intcon gie peie t0ie inte raie t0if intf raif 0000 0000 0000 000u 19h cmcon ? cout ? cinv cis cm2 cm1 cm0 -0-0 0000 -0-0 0000 81h option_reg rapu intedg t0cs t0se psa ps2 ps1 ps0 1111 1111 1111 1111 85h trisa ? ? trisa5 trisa4 trisa3 trisa2 trisa1 trisa0 --11 1111 --11 1111 91h ansel (1) ans7 ans6 ans5 ans4 ans3 ans2 ans1 ans0 1111 1111 1111 1111 95h wpua ? ?wpua5wpua4 ? wpua2 wpua1 wpua0 --11 -111 --11 -111 96h ioca ? ? ioca5 ioca4 ioca3 ioca2 ioca1 ioca0 --00 0000 --00 0000 ? 1: pic16f676 . ?? x = ? u = ? - = ? 0?? porta ????
pic16f630/676 ds40039c_cn 26 ? ? 2004 microchip technology inc. 3.3 portc portc ? 6 ??? i/o ?? ?? i/o a/d ??? ??? a/d ?? ??? 3-2: portc ?? 3.3.1 rc0/an4 rc1/an5 rc2/an6 rc3/an7 rc0/rc1/rc2/rc3 ???1?? ? ? i/o ?a/d pic16f676 ?? ? 3-6: rc0/rc1/rc2/rc3 ?? 3.3.2 rc4 rc5 rc4 rc5 ???? i/o ? ? 3-7: rc4 rc5 ?? ? ????? , ? ansel(9fh) cmcon(19h) ?? ?? 0 ansel ? pic16f676 ?^ bcf status,rp0 ;bank 0 clrf portc ;init portc bsf status,rp0 ;bank 1 clrf ansel ;digital i/o movlw 0ch ;set rc<3:2> as inputs movwf trisc ;and set rc<5:4,1:0> ;as outputs bcf status,rp0 ;bank 0 i/o v dd v ss d q ck q d q ck q wr portc wr trisc rd trisc a/d ? rd portc ??? i/o v dd v ss d q ck q d q ck q wr portc wr trisc rd trisc rd portc
? 2004 microchip technology inc. ds40039c_cn 27 ? pic16f630/676 ? 3-5: portc? portc ? ? 07h ? 3-6: trisc ? portc tristate ? ( ? : 87h) 3-2: portc ??? u-0 u-0 r/w-x r/w-x r/w-x r/w-x r/w-x r/w-x ? ? rc5 rc4 rc3 rc2 rc1 rc0 bit 7 bit 0 bit 7-6 0 bit 5-0 portc<5:0> : ? i/o 1 = ??? >v ih 0 = ??? portc ? 1 = portc ??? (?) 0 = portc ??? ?? r = ? w = ? u = ? 0 - n = ?y? 1 = 1 0 = x = ??? ? bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 por, bod ? ? 07h portc ? ? rc5 rc4 rc3 rc2 rc1 rc0 --xx xxxx --uu uuuu 87h trisc ? ? trisc5 trisc4 trisc3 t risc2 trisc1 trisc0 --11 1111 --11 1111 91h ansel (1) ans7 ans6 ans5 ans4 ans3 ans2 ans1 ans0 1111 1111 1111 1111 ? 1: pic16f676 ?? x = ? u = ? - = ? 0 ?? portc ????
pic16f630/676 ds40039c_cn 28 ? ? 2004 microchip technology inc. ?
? 2004 microchip technology inc. ds40039c_cn 29 ? pic16f630/676 4.0 timer0 ? timer0 ?E? / ?8 ? / ? ? ?8 ??? ? ????? ? ffh 00h ?? ? ???? ? 4-1 ? timer0 ?????? ??? timer0 ? wdt ? 4.1 timer0 ? t0cs option_reg<5> ? ??????? timer0 ?q??? ? ?? tmr0 ????? ?? tmr0 ??? ? t0cs option_reg<5 1 ? ????? timer0 ? ra2/t0cki ?????????? ? t0se option_reg<4> ? ???? t0se ???? 4.2 timer0 tmr0 ?? / ffh 00h ? timer0 ? ? t0if ?? 1 ? t0ie ? intcon<5> ????? timer0 ? ??? t0if intcon<2> ???????? timer0 ???? ? 4-1: timer0/wdt ????? ? timer0 ??? picmicro ? ????? ds33023_cn ? ?????? ???? picmicro ? ????? ds33023_cn t0cki t0se clkout tmr0 ? ? wdt ? ps0 - ps2 wdte ?? t0if 1 t0cs ? 1: t0se t0cs psa ps0-ps2 option ? 0 1 0 1 0 1 sync 2 8 8 8 ?? 0 1 (= f osc /4) psa psa psa
pic16f630/676 ds40039c_cn 30 ? ? 2004 microchip technology inc. 4.3 timer0 ???? ????????? ??? q2 q4 ??? ? t0cki ???? ? ? t0cki ????????????? 2t osc ? ? 20 ns rc ??? ??Z? ? 4-1: option_reg ? ?? ? 81h ? ansel (9fh) cmcon(19h) ? ????? ???? 0 ansel ? pic16f676 ?^ r/w-1 r/w-1 r/w-1 r/w-1 r/w-1 r/w-1 r/w-1 r/w-1 ra pu intedg t0cs t0se psa ps2 ps1 ps0 bit 7 bit 0 bit 7 rapu : porta ? 1 = ? porta 0 = ?????? porta bit 6 intedg: ??? 1 = ra2/int ??? 0 = ra2/int ???? bit 5 t0cs: tmr0 ??? 1 = ra2/t0cki ??? 0 = ??? (clkout) bit 4 t0se: tmr0 ??? 1 = ra2/t0cki ??? 0 = ra2/t0cki ?? bit 3 psa: ?? 1 = wdt 0 = timer0 ? bit 2-0 ps2:ps0: ??? ?? r = ? w = ? u = ? 0 - n = ?y? 1 = 1 0 = x = ??? 000 001 010 011 100 101 110 111 1 : 2 1 : 4 1 : 8 1 : 16 1 : 32 1 : 64 1 : 128 1 : 256 1 : 1 1 : 2 1 : 4 1 : 8 1 : 16 1 : 32 1 : 64 1 : 128 ? tmr0 wdt
? 2004 microchip technology inc. ds40039c_cn 31 ? pic16f630/676 4.4 ?? timer0 ??? 8 ??? ??????? ???? ??? ? psa option_reg<3> ???? ??? psa ??? timer0 ?? ps2:ps0 option_reg<2:0> ????? ??????? timer0 ? ? tmr0 ?? clrf 1 movwf 1 bsf 1 x.... ????? ??? wdt ? clrwdt ??? ?????? 4.4.1 ??? ??????? ??????? ?? timer0 wdt ? ?? 4-1 4-1: ???? (timer0 wdt) ?? wdt timer0 ?? ? 4- 2 ??? wdt ?????? ? 4-2: ???? (wdt timer0) 4-1: timer0 ??? bcf status,rp0 ;bank 0 clrwdt ;clear wdt clrf tmr0 ;clear tmr0 and ; prescaler bsf status,rp0 ;bank 1 movlw b?00101111? ;required if desired movwf option_reg ; ps2:ps0 is clrwdt ; 000 or 001 ; movlw b?00101xxx? ;set postscaler to movwf option_reg ; desired wdt rate bcf status,rp0 ;bank 0 clrwdt ;clear wdt and ; postscaler bsf status,rp0 ;bank 1 movlw b?xxxx0xxx? ;select tmr0, ; prescale, and ; clock source movwf option_reg ; bcf status,rp0 ;bank 0 ? bit 7 bit 6 bit 5 bit 4 b it 3 bit 2 bit 1 bit 0 por, bod ??? ? 01h tmr0 timer0 ?? xxxx xxxx uuuu uuuu 0bh/8bh intcon gie peie t0ie inte raie t0if intf raif 0000 0000 0000 000u 81h option_reg rapu intedg t0cs t0se psa ps2 ps1 ps0 1111 1111 1111 1111 85h trisa ? ? trisa5 trisa4 trisa3 trisa2 trisa1 trisa0 --11 1111 --11 1111 ?? - = ? 0 u = ? x = ? timer0 ???????
pic16f630/676 ds40039c_cn 32 ? ? 2004 microchip technology inc. 5.0 ???? timer1 ? pic16f630/676 ?? 16 ? ? 5-1 ? timer1 ??? timer1 ?16 ? / tmr1h:tmr1l ? ? ? ???? ? ??? ? ffffh 0000h ? ? ? ??? ? ???? t1g ? ? lp ? 5-1 ? timer1 ?? t1con ? / ? timer1 ?? timer1 ??? ? 5-1: timer1 ?? ? ????? picmicro ? ????? ds33023_cn tmr1h tmr1l lp t1sync tmr1cs t1ckps<1:0> f osc /4 ? ? ?? 1, 2, 4, 8 ? 1 0 0 1 ? ? 2 osc1 osc2 ? ? tmr1if 1 tmr1 tmr1on tmr1ge tmr1on tmr1ge clkout t1oscen lp intosc t1g
? 2004 microchip technology inc. ds40039c_cn 33 ? pic16f630/676 5.1 timer1 ?? timer1 ????? ? ?? 16 ? ?16 ? ?16 ? ???? timer1 ???? ??? timer1 ??? t1cki ????? ??????? ???? / ???? t1g ???? ???????? clkout intosc timer1 ? lp ??? 5.2 timer1 timer1 ? tmr1h tmr1l ffffh ?? 0000h timer1 ? timer1 ?? pir1<0> 1 ??? ????? ?timer1 ? pie1<0> ? peie intcon<6> ?gie intcon<7> ? tmr1if ??? 5.3 timer1 ?? timer1 ????? ? 1 2 4 8 ? t1ckps t1con<5:4> ??????? ??? tmr1h tmr1l ? ??? ? 5-2: timer1 ?? ? ?????? ??????? ? ??? tmr1h:ttmr1l ?? tmr1if ? tmr1 tmr1 ? 1: ? 2: ????????????? ?? t1cki = 0 t1cki = 1 ??
pic16f630/676 ds40039c_cn 34 ? ? 2004 microchip technology inc. ? 5-1: t1con ? timer1 ?? ? 10h u-0 r/w-0 r/w-0 r/w-0 r/w-0 r/w-0 r/w-0 r/w-0 ? tmr1ge t1ckps1 t1ckps0 t1oscen t1sync tmr1cs tmr1on bit 7 bit 0 bit 7 ? 0 bit 6 tmr1ge timer1 ?? tmr1on = 0 tmr1on = 1 1 = t1g ??? timer1 0 = timer1 bit 5-4 t1ckps1:t1ckps0: timer1 ???? 11 = 1:8 ?? 10 = 1:4 ?? 01 = 1:2 ?? 00 = 1:1 ?? bit 3 t1oscen: lp ?? clkout intosc ??? 1 = lp ?? timer1 ? 0 = lp ? bit 2 t1sync : timer1 ??? tmr1cs = 1 1 = ??? 0 = ??? tmr1cs = 0 ? timer1 ???? bit 1 tmr1cs: timer1 ??? 1 = ? t1oso/t1cki ( ) ?? 0 = ?? (f osc /4) bit 0 tmr1on: timer1 1 = ? timer1 0 = ?? timer1 ?? r = ? w = ? u = ? 0 - n = ?y? 1 = 1 0 = x = ???
? 2004 microchip technology inc. ds40039c_cn 35 ? pic16f630/676 5.4 timer1 ??? t1sync t1con<2> 1 ?? ?????? ???? ?????? / ???? 5.4.1 ? 5.4.1 ??? timer1 ?????? tmr1h tmr1l ??? ???? ???? 8 ?? 16 ? ??????? ???? ?? ??????? ?? 16 ????? picmicro ? ????? ds33023_cn 12-2 12-3 ? timer1 ?????? 5.5 timer1 osc1 ? osc2 ?? ?t? t1oscen t1con<3> 1 ???? ??????? 32 khz ?? ? ? ??? 32 khz ? 9-2 ????? timer1 ?? timer1 ?? lp ? ? ??????? timer1 ??? ?? lp ? ? ????? timer1 ?? trisa5 trisa4 ? 1 ra5 ra4 0 trisa5 trisa4 ?? 1 5.6 timer1 ?? ?????? timer1 ? ?1???????? ??2??? ? ?? timer1 t1con<0> ? tmr1ie pie1<0> 1 ? peie intcon<6> 1 ?? gie intcon<7> 1 ??? 5-1: timer1 ?? / ??? ? ? ansel 9fh cmcon 19h ?????? ???? 0 ansel ?? pic16f676 ^ ? ????? ??? t1oscen ? 1 ? timer1 ??????? ? bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 por bod ? ? 0bh/8bh intcon gie peie t0ie inte raie t0if intf raif 0000 0000 0000 000u 0ch pir1 eeif adif ? ? cmif ? ?tmr1if 00-- 0--0 00-- 0--0 0eh tmr1l 16 tmr1 ????? xxxx xxxx uuuu uuuu 0fh tmr1h 16 tmr1 ????? xxxx xxxx uuuu uuuu 10h t1con ? tmr1ge t1ckps1 t1ckps0 t1oscen t1sync tmr1cs tmr1on -000 0000 -uuu uuuu 8ch pie1 eeie adie ? ? cmie ? ?tmr1ie 00-- 0--0 00-- 0--0 ?? x = ? u = - = ? 0 timer1 ???????
pic16f630/676 ds40039c_cn 36 ? ? 2004 microchip technology inc. ?
? 2004 microchip technology inc. ds40039c_cn 37 ? pic16f630/676 6.0 ?? pic16f630/676 ????? ? ra0 ra1 ?? ????????? ? ra2 ?? ? 6-1 ??? ?? cmcon ?? ? ? 6-1: cmcon ? ??? ? 19h u-0 r-0 u-0 r/w-0 r/w-0 r/w-0 r/w-0 r/w-0 ?cout ? cinv cis cm2 cm1 cm0 bit 7 bit 0 bit 7 0 bit 6 cout ? cinv = 0 ? 1 = v in + > v in - 0 = v in + < v in - cinv = 1 ? 1 = v in + < v in - 0 = v in + > v in - bit 5 0 bit 4 cinv ? 1 = 0 = bit 3 cis ??? cm2:cm0 = 110 101 1 = v in - cin+ 0 = v in - cin- bit 2-0 cm2:cm0 ??? ? 6-2 ??????? cm2:cm0 ? ?? r = ? w = ? u = ? 0 - n = ?y? 1 = 1 0 = x = ???
pic16f630/676 ds40039c_cn 1 38 ni 2004 microchip technology inc. 6.1 !ew<?0 6-1 /z )!ew<1 ??3eg9+ _ad+eg? k,xg2??' v in + ?,x?3eg9+ _?b?3eg90? v in - ,x+ _!eweg9a1 ? ?hke7,x.bn2?? e?e?a?5b cinv !? cmcon<4> ? ?s!ew<,xeg? u? ? ?? cinv !#ls!ew< 6-1 `h
/z!ew`u? { !,xg2?? >< 6-1: eg?(??eg95 6-1: )!ew< "?? ! cin+ ` cin 6?0?3eg9s*h !7.ba?n cmcon (19h) ?,<,h,x{ !? eg95 cinv cout v in - > v in + 00 v in - < v in + 01 v in - > v in + 11 v in - < v in + 10 eg? v in - v in + eg? + ? v in + v in - "?? cinv! (cmcon<4>)>#l?
2004 microchip technology inc. ds40039c_cn 1 39 ni pic16f630/676 6.2 !ew 10??,xey?? 6-2 / z?/? ?6?,x10??? trisa ?,<{ !?/??? ?!ew<6?,xdb?eg? ??vp!ew<10??>
?!ew |